Automattic\WooCommerce\StoreApi\Routes\V1\Checkout B

Total Complexity 80
Dependencies 12
Dependents 1
Total lines 894
Lines of code 502
Logical lines of code 189
Comment lines 293
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
validate_callback()
B
33 20 101
update_customer_from_request()
A
44 8 49
get_response()
A
50 9 27
get_route_post_response()
A
41 5 65
get_request_payment_method()
S
50 6 28
should_create_customer_account()
S
60 5 15
create_or_update_draft_order()
S
49 3 35
get_args()
S
42 1 65
validate_user_can_place_order()
S
57 4 18
process_customer()
S
53 3 25
get_route_update_response()
S
55 3 21
update_customer_address_field()
S
63 3 10
get_route_error_response()
S
64 2 10
add_data_to_error_object()
S
66 2 8
get_route_error_response_from_object()
S
70 2 6
get_path_regex()
S
81 1 3
get_route_response()
S
65 1 10
requires_nonce()
S
80 1 3
get_path()
S
80 1 3